/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package cn.matezk.dms.system.model.resp;

import java.io.Serial;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import top.continew.starter.extension.crud.model.resp.BaseResp;

/**
 * 模板信息
 *
 * @author 程道林
 * @since 2025/01/06 15:08
 */
@Data
@Schema(description = "模板信息")
public class TemplateResp extends BaseResp {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 模板ID
     */
    @Schema(description = "模板ID")
    private String templateCode;

    /**
     * WECHAR/SMS/TTS
     */
    @Schema(description = "WECHAR/SMS/TTS")
    private String method;

    /**
     * 事件ID
     */
    @Schema(description = "事件ID")
    private String eventId;

    /**
     * 模板参数
     */
    @Schema(description = "模板参数")
    private String params;

    /**
     * 模板内容
     */
    @Schema(description = "模板内容")
    private String content;

    /**
     * 链接地址
     */
    @Schema(description = "链接地址")
    private String url;
}